#include <stdio.h>

int main(){
    char t = ' ';
    char strs[14][11];
   
    int index = 0;
    int pindex = 0;
   
    while (t != '.') {
        t = getchar();
        if (index <= 13) {
            if (t == '\n') { strs[index][pindex]='\0';index++;pindex=0;continue; }
            if (pindex <= 9) strs[index][pindex] = t;
            pindex++;
        }
    }
   
    if (index >= 13)
        printf("%s and %s are inviting you to dinner...",strs[1],strs[13]);
    else if (index > 1)
        printf("%s is the only one for you...",strs[1]);
    else
        printf("Momo… No one is for you ...");
   
    return 0;
}